// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Vuex from 'vuex';
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './style/theme/element-variables.scss'
import './style/theme/custom-variables.scss'
import 'register/'
import store from './store/'



Vue.config.productionTip = false
Vue.use(ElementUI)

Vue.use(Vuex);
import Notice from './components/notice/index'

import Toast from './components/toast/toast'
// 使用插件
Vue.use(Toast)


Vue.use(Notice)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
